package org.example.controller.feign;

import org.example.config.ConsumeFeignIntercepter;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "eureka-product", configuration = ConsumeFeignIntercepter.class )
@CrossOrigin
public interface FeignService {
    @RequestMapping("/product/test/i1")
    String test();
}
